package com.online.music.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

/**
 * @Author: Leno
 * @Date: 2025-02-10
 * @Description:
 */
@Data
@TableName("user_follow")
@Schema(name = "UserFollow对象", description = "")
public class UserFollow implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "关注主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "关注者的用户ID")
    private Long userId;

    @Schema(description = "被关注者的用户ID")
    private Long followedUserId;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;


}

